<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <jsp:useBean id = "simple" scope = "page" class = "beans.SimpleBean"/>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
	simple.setName("牛马");
	simple.setAge(2);
%>
<h5>姓名：<%=simple.getName() %></h5>
<h5>年龄：<%=simple.getAge()%></h5>
</body>
</html>